package org.stvd.service.admin;

import java.util.Date;

import org.stvd.core.dto.QueryResult;
import org.stvd.entities.admin.Loginfo;
import org.stvd.service.base.BaseService;

public interface LoginfoService extends BaseService<Loginfo> {

    Loginfo findByPk(String logId);
    
    QueryResult<Loginfo> getLoginfoResult(int start, int limit, String user_id, String role_id, String log_type,
            String log_type2, Date beginDate, Date endDate, String dep_id);

    QueryResult<Loginfo> getLoginfoResult(int start, int limit, String username, String log_type,
            String log_type2, Date beginDate, Date endDate);

    boolean Emptyloginfo(String user_id, String log_type, Date beginDate, Date endDate, String dep_id);
}